home *** CD-ROM | disk | FTP | other *** search
- \ <PAGEW> clear video utility 25Dec83RSW
- FORTH DEFINITIONS DECIMAL
-
- ( <PAGEW> -- SETS 80 COLUMN B&W MODE FOR COLOR GRAPHICS ADPTR )
-
- : <PAGEW> 2 0 0 0 16 INTCALL DROP ;
-
- FIND <PAGEW> 'PAGE ! ( update init video vector )
-
- : BEEP 7 EMIT ; \ alert operator utility
-
-
-
-
-
- -->
- \ <T&SCALC> -- corrected for two-sided problem 26Dec83RSW
- FORTH DEFINITIONS HEX
- 8 CONSTANT 5DSDD 10 CONSTANT 8DSDD \ maximum sectors/track side
- : <T&SCALC> ( logical-sector --- )
- DRIVE @ 0F AND DRIVE ! \ clear any side 1 select
- SPT /MOD TRACK ! \ compute desired track
- DENSITY @ 1 = IF \ 5.25" DSDD ?
- 5DSDD /MOD IF \ yes - on other side ?
- 100 DRIVE +! THEN \ yes - set side 1
- ELSE DENSITY @ 4 = IF \ no - 8" DSDD ?
- 8DSDD /MOD IF \ yes - other side?
- 100 DRIVE +! THEN \ yes - set it
- THEN THEN
- 1+ SEC ! ; \ set physical sector number
-
- DECIMAL -->
- \ fix two-sided disk access problem 25Dec83RSW
- DECIMAL
-
- FIND <T&SCALC> 'T&SCALC !
- ' <T&SCALC> NFA FENCE !
- FREEZE
- SAVE-FORTH
-
-
-
-
-
-
-
-
-
- 25Dec83RSW
- DECIMAL
-
- FIND <T&SCALC> 'T&SCALC !
- ' <T&SCALC> NFA FENCE !
- FREEZE
- SAVE-